package cn.iocoder.yudao.module.product.controller.admin.skustorerelation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SkuStoreRelationSaveVO {

    @Schema(description = "商品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29930")
    @NotNull(message = "商品id不能为空")
    private Long skuId;

    @Schema(description = "门店id", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1,2]")
    @NotNull(message = "门店id不能为空")
    private List<Long> pickUpStoreIdList;

}